# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=msr-tools
pkgver=1.3
pkgrel=1
pkgdesc="utilities for MSRs and CPU ID"
url="https://01.org/msr-tools"
arch="x86_64 x86"
license="GPL-2.0-or-later"
options="!check" # no tests
source="https://01.org/sites/default/files/downloads/msr-tools/msr-tools-$pkgver.zip"
builddir="$srcdir"/msr-tools-master

build() {
	make
}

package() {
	mkdir -p "$pkgdir"/usr/bin
	make sbindir="$pkgdir"/usr/bin install
}

sha512sums="9605eed0b6211d0ecbe48a14d66b5d61965770f249c5c1b15416d4f2e9a37a68ecfde171077c3acc74bb6b951749bcff186acbb4d6d8a3051695d2d97c0e332b  msr-tools-1.3.zip"
